<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@page import="java.util.ArrayList" %>
    <%@page import="java.util.List" %>
    <%@page import="huang.teamwork15.TransferRecords" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>记录查询！！</title>
</head>
<body>
<h1>欢迎<%=request.getAttribute("username") %></h1><br>
<h2>交易记录</h2>
<%
List<TransferRecords> list=new ArrayList<TransferRecords>(); 
list=(List)request.getAttribute("tlist");
%>
<table border="1">
<tr>
<th>转账时间</th>
<th>转账金额</th>
<th>收款人</th>
</tr>
<%
for(int i=0;i<list.size();i++){
%>
<tr>
<td><%=list.get(i).getTransferTime() %></td>
<td><%=list.get(i).getTransferFund() %></td>
<td><%=list.get(i).getPayee() %></td>
</tr>
<tr>	
<%	
}

%>

</table>



</body>
</html>